import React from 'react'
import './index.scss'
const TitleNav = (props) => {
    const { navlist } = props;
    return <div className="nav2">
        {navlist.map((item, index) => <div className='nav2-item' key={index}>
            <img src={item.iconPhotoPath} alt="" />
            <div>{item.iconName}</div>

        </div>
        )}

    </div>

}
export default TitleNav